package com.ruoyi.expert.controller;

import com.ruoyi.expert.mapper.Announcementmapper;
import com.ruoyi.expert.pojo.Dtannouncement;
import com.ruoyi.expert.pojo.Expert;
import com.ruoyi.expert.service.Announcementservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 *  招标公告信息 公告信息页面显示
 *
 * @author wyp
 */
@RestController
@RequestMapping("/Tender")
public class AnnouncementController {
    @Autowired
    private Announcementservice service;

    @PostMapping("/selectannouncemennt")
    public List<Dtannouncement> Selectannouncement(){
        return service.Selectannouncement();
    }
}
